﻿using System;
using System.Web.UI;
using DevExpress.Web;

public class MemberPage : Page
{
    protected void Page_PreInit(object sender, EventArgs e)
    {
        if (Sessions.CurrentMember==null || Sessions.CurrentMember.IsNull())
        {
            Sessions.GlobalMessage = Strings.Yetkisiz;
            //ASPxWebControl.RedirectOnCallback("~/Default.aspx");
            base.Response.Redirect("~/Default.aspx");
        }
    }
}